package com.tre.jdevtemplateboot.common.util;

import java.util.Properties;

/**
 * @author JDev
 */
public class YamlConfigurerUtil {

    private static Properties ymlProperties = new Properties();

    private YamlConfigurerUtil(){
        throw new IllegalStateException("Utility class");
    }

    public YamlConfigurerUtil(Properties properties) {
        ymlProperties = properties;
    }

    public static String getStrYmlVal(String key) {
        return ymlProperties.getProperty(key);
    }
}
